<script setup lang="ts">
defineProps<{
    modelValue: number
}>()
const emit = defineEmits<{
    (e: 'update:modelValue', count: number): void
}>()
</script>

<template>
<div class="test-page">
    test组件{{ modelValue }}
    <button @click="emit('update:modelValue', 1)">改count</button>
</div>
</template>

<style lang="scss" scoped>

</style>